package com.atguigu.gulimall.product.vo.sale;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import com.atguigu.gulimall.product.to.SeckillInfoTo;
import com.atguigu.gulimall.product.vo.base.SpuItemBaseAttrGroupVo;
import lombok.Data;

import java.util.List;

/**
 * @author 孤风雪影
 * @date 2021/1/13
 */
@Data
public class SkuItemVo {

    private Boolean hasStock = true;

    //1.sku基本信息获取 pms_sku_info
    private SkuInfoEntity info;

    //2.sku的图片信息 pms_sku_images
    List<SkuImagesEntity> images;

    //3.获取sku所有的销售属性组合
    List<SkuItemSaleAttrVo> saleAttrs;

    //4.获取spu的介绍 pms_spu_info_desc
    SpuInfoDescEntity desc;

    //5.获取spu的规格参数信息
    List<SpuItemBaseAttrGroupVo> baseAttrGroups;

    //6.当前商品的秒杀优惠信息
    SeckillInfoTo seckillInfoTo;
}
